﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HengTong.Model.Db;
using HengTong.Model.Db.Hr;


namespace HengTong.ViewModel.Person.SysPersonMedicalBatcheVms
{
    public partial class SysPersonMedicalBatcheTemplateVm : BaseTemplateVM
    {
        [Display(Name = "批次名称")]
        public ExcelPropety BatchNameExcel = ExcelPropety.CreateProperty<SysPersonMedicalBatche>(x => x.BatchName);
        [Display(Name = "体检类型")]
        public ExcelPropety MedicalTypeExcel = ExcelPropety.CreateProperty<SysPersonMedicalBatche>(x => x.MedicalType);
        [Display(Name = "体检医院")]
        public ExcelPropety HospitalExcel = ExcelPropety.CreateProperty<SysPersonMedicalBatche>(x => x.Hospital);
        [Display(Name = "体检日期")]
        public ExcelPropety MedicalDateExcel = ExcelPropety.CreateProperty<SysPersonMedicalBatche>(x => x.MedicalDate);
        [Display(Name = "备注")]
        public ExcelPropety RemarkExcel = ExcelPropety.CreateProperty<SysPersonMedicalBatche>(x => x.Remark);

	    protected override void InitVM()
        {
        }

    }

    public class SysPersonMedicalBatcheImportVm : BaseImportVM<SysPersonMedicalBatcheTemplateVm, SysPersonMedicalBatche>
    {

    }

}
